

.hide{
    display: none;
}
form {
    position: absolute;
    top: 470px;
    left: 1020px;
    width: 86%;
    max-width: 400px;
    text-align: center;
}

h2 {
    line-height: .8rem;
    font-size: .3rem;
    font-weight: 600;
}
.item {
    width: 90%;
    margin-bottom: 4%;
    line-height: .5rem;
    height: .5rem;
    position: relative;
}
img {
    width: .3rem;
    left: .1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
input{
    width: 100%;
    height: 100%;
    padding-left: .45rem;
    border: none;
    outline: none;
}
.btn-area{
    margin: 5% 0;
}
.login,.register {
    width: 60%;
    height: .4rem;
    line-height: .4rem;
    background: #4f93fe;
    color: #fff;
    border-radius: .25rem;
    font-size: .2rem;
    cursor: pointer;
    margin-left: -.4rem;
}
.switch{
    cursor: pointer;
    margin-right: .5rem;
}
.switch:hover{
    color: #32bd40;
}
.code-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #32bd40;
    line-height: .5rem;
    height: .5rem;
    color: #fff;
    cursor: pointer;
}